package com.amado.course19ErrorSummary.error;

/**
 * Cannot make a static reference to the non-static method getMain() from the type TestService
 * 无法从类型TestService中对非静态方法getMain（）进行静态引用
 * 怎么解决：new一个对象，或将方法改成静态方法
 *
 * @author Administrator
 */
public class StaticMethodError {
    public static void main(String[] args) {
//        TestService.getMain();
    }
}
